package com.erp.vo;

import java.sql.Timestamp;

/**
 * @author lpy
 * 财务报表的视图对象
 */
public class ReportFormsViewObject{
    /**
     * 报表编号
     */
    private int fid;
    /**
     * 订单编号
     */
    private String oid;
    /**
     * 员工姓名
     */
    private String ename;
    /**
     * 订单状态
     */
    private String orderState;
    /**
     * 购买时间
     */
    private Timestamp buyTime;
    /**
     * 商品名称
     */
    private String gname;
    /**
     * 商品数量
     */
    private int count;
    /**
     * 订单金额
     */
    private double money;
    /**
     * 供应商名称
     */
    private String supname;

    public ReportFormsViewObject() {

    }

    public ReportFormsViewObject(String oid, String ename, String orderState, Timestamp buyTime, String gname, int count, double money, String supname) {
        this.oid = oid;
        this.ename = ename;
        this.orderState = orderState;
        this.buyTime = buyTime;
        this.gname = gname;
        this.count = count;
        this.money = money;
        this.supname = supname;
    }

    public int getFid() {
        return fid;
    }

    public void setFid(int fid) {
        this.fid = fid;
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getOrderState() {
        return orderState;
    }

    public void setOrderState(String orderState) {
        this.orderState = orderState;
    }

    public Timestamp getBuyTime() {
        return buyTime;
    }

    public void setBuyTime(Timestamp buyTime) {
        this.buyTime = buyTime;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String getSupname() {
        return supname;
    }

    public void setSupname(String supname) {
        this.supname = supname;
    }

    @Override
    public String toString() {
        return "ReportFormsViewObject{" +
                "fid=" + fid +
                ", oid='" + oid + '\'' +
                ", ename='" + ename + '\'' +
                ", orderState='" + orderState + '\'' +
                ", buyTime=" + buyTime +
                ", gname='" + gname + '\'' +
                ", count=" + count +
                ", money=" + money +
                ", supname='" + supname + '\'' +
                '}';
    }
}
